package com.zygh.policeasset.controller;

import com.zygh.policeasset.service.NewApprovalProcessService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/newApprovalProcess"})
@Api(tags = {"资产审批流程查询"})
@RestController
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/controller/NewApprovalProcessController.class */
public class NewApprovalProcessController {
    @Autowired
    NewApprovalProcessService newApprovalProcessService;

    @RequestMapping(value = {"/selectAllByBuildNum"}, method = {RequestMethod.GET})
    @ApiOperation("根据项目编号和标段ID查询")
    public Object selectAllByBuildNum(String buildNum, Integer sectionId) {
        return this.newApprovalProcessService.selectAllByBuildNum(buildNum, sectionId);
    }
}